<template>
  <view class="login-pages">login page</view>
</template>

<script>
import { getMenu, postMenu } from '../../api/login/indiex.js'
export default {
  name: 'Login',
  methods: {
    init() {
      getMenu({
        params: { /* GET请求携带的参数 */ },
        custom: { auth: true, toast: false, catch: false }
      }).then(res => {}).catch(err=>{})


      postMenu(
        {/* POST请求携带的参数 */},
        { auth: true, toast: false, catch: false },
      ).then(res => {}).catch(err=>{})
    }
  }
}
</script>

<style lang="scss" scoped>
.login-pages {
}
</style>
